package com.ssmdemo.aop.bean;


import java.lang.annotation.*;

//@Documented
//@Target(ElementType.METHOD) //加在方法上
//@Retention(RetentionPolicy.RUNTIME) //运行时启动

@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LoginUser {


    //参数
    //true 加在对象的参数上
    //false 直接参数
    boolean saveParamObject() default false;
}
